<div class="featured-index">
	<h3 class="h3-title">Featured properties</h3>
	<?php 
		$query = new WP_Query(array(
			'post_type' => 'property',
			'showposts' => 4
		));
	?>
	<?php $count = 1; ?>
	<?php if($query->have_posts()) : while($query->have_posts()) : $query->the_post(); ?>
		<?php if($count == 1){ ?>
			<div class="featured-left">
				<div class="img">
					<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="view">View</a>
					<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img src="<?php echo zon_get_thumbnail("large"); ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" /></a>
					<div class="img-info">
						<span class="price">$<?php echo zonthemes_convert(zon_meta("zon_price")); ?></span>
						<ul>
							<li class="area"><?php echo zon_meta("zon_area"); ?> sqft</li>
							<li class="toilet"><?php echo zon_meta("zon_tolet"); ?></li>
							<li class="bedroom"><?php echo zon_meta("zon_bedroom"); ?></li>
						</ul>
					</div>
				</div>
				<p class="feature-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p>
				<p class="feature-desc">
					<?php zonthemes_cat_string(get_the_excerpt(),20); ?>
					<span class="read-more"><a href="<?php the_permalink(); ?>">More details</a></span>
				</p>
			</div>
		<?php } ?>
		<?php if($count == 2){
			echo '<ul class="featured-right">';	
		} ?>
		<?php if($count <> 1){ ?>
			<li>
				<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img src="<?php echo zon_get_thumbnail("medium"); ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" /></a>
				<p class="thumb-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p>
				<p class="thumb-small-title"><?php zonthemes_cat_string(get_the_excerpt(),4); ?></p>
				<p class="price">$<?php echo zonthemes_convert(zon_meta("zon_price")); ?></p>
				<ul class="info">
					<li class="area"><?php echo zon_meta("zon_area"); ?> sqft</li>
					<li class="toilet"><?php echo zon_meta("zon_tolet"); ?></li>
					<li class="bedroom"><?php echo zon_meta("zon_bedroom"); ?></li>
				</ul>
			</li>
		<?php } ?>
		<?php if($count == 4){
			echo '</ul>';
		} ?>
		<?php $count++; ?>
	<?php endwhile; endif; ?>
	<div class="clear"></div>
</div><!--end .feature-index-->